package br.unb.mestrado.simulator.model.spl.concrete;

import br.unb.mestrado.bs.common.model.constant.SensorType;
import br.unb.mestrado.simulator.model.qos.QoSParameter;
import br.unb.mestrado.simulator.model.spl.ConcreteSPLFeature;

public class SensorFeature extends ConcreteSPLFeature implements SensorFeatureInterface{
	
	public SensorFeature(String name, Boolean enabled, SensorType type, QoSParameter[] qosParameters) {
		super(name, enabled,qosParameters);
		this.type = type;
	}

	private Float battery;
	private Float quality;
	private Float accuracy;
	private SensorType type;
	
	public Float getBattery() {
		return battery;
	}
	public void setBattery(Float battery) {
		this.battery = battery;
	}
	public Float getQuality() {
		return quality;
	}
	public void setQuality(Float quality) {
		this.quality = quality;
	}
	public Float getAccuracy() {
		return accuracy;
	}
	public void setAccuracy(Float accuracy) {
		this.accuracy = accuracy;
	}

	public SensorType getType() {
		return type;
	}
	public void setType(SensorType type) {
		this.type = type;
	}
	@Override
	public String getFeatureName() {
		return getName();
	}
	@Override
	public void setFeatureName(String featureName) {
		this.name = featureName;		
	}
	
	
	
}
